package com.senmo.fragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.senmo.base.BaseFragment;
import com.senmo.senmo.R;

import lx.af.utils.ViewInject.ViewInject;

/**
 * author: lx
 * date: 16-1-5
 */
public class MainTabDiscover extends BaseFragment implements View.OnClickListener {

    @ViewInject(id = R.id.fragment_discover_message, click = "onClick")
    private TextView mBtnMessage;
    @ViewInject(id = R.id.fragment_discover_gallery, click = "onClick")
    private TextView mBtnGallery;
    @ViewInject(id = R.id.fragment_discover_help, click = "onClick")
    private TextView mBtnHelp;
    @ViewInject(id = R.id.fragment_discover_ask, click = "onClick")
    private TextView mBtnAsk;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        return inflater.inflate(R.layout.fragment_tab_discover, null);
    }

    @Override
    public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {
        super.onViewCreated(view, savedInstanceState);
    }

    @Override
    public void onResume() {
        super.onResume();
    }

    @Override
    public void onPause() {
        super.onPause();
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.fragment_discover_message: {

                break;
            }
            case R.id.fragment_discover_gallery: {

                break;
            }
            case R.id.fragment_discover_help: {

                break;
            }
            case R.id.fragment_discover_ask: {

                break;
            }
        }
    }
}
